package com.yuyou.fn.settlement.mapper;

import com.github.wens.mybatisplus.mapper.AutoMapper;
import com.yuyou.fn.settlement.entity.ChangeRecord;
import com.yuyou.fn.settlement.vo.ChangeRecordQueryVo;
import com.yuyou.fn.settlement.vo.MainAccountAmountVo;
import com.yuyou.fn.settlement.vo.MainAccountCategoryAmountVo;
import com.yuyou.fn.settlement.vo.MainAccountTimeAmountVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * ChangeRecord 表数据库控制层接口
 *
 */
public interface ChangeRecordMapper extends AutoMapper<ChangeRecord,Long> {

    List<MainAccountTimeAmountVo> findMonthAmount(@Param("changeRecordQueryVo") ChangeRecordQueryVo changeRecordQueryVo);

    List<MainAccountAmountVo> findMainAccountAmount(@Param("changeRecordQueryVo") ChangeRecordQueryVo changeRecordQueryVo);

    List<MainAccountCategoryAmountVo> findMainAccountCategoryAmount(@Param("changeRecordQueryVo") ChangeRecordQueryVo changeRecordQueryVo);
}